package com.ght.springboot.service;

import com.ght.springboot.api.form.CommentForm;
import com.ght.springboot.api.query.CommentQuery;
import com.ght.springboot.api.query.ElasticSearchQuery;
import com.ght.springboot.vo.CommentBookVo;

import java.util.List;

public interface EsServcie {

    String insertComment(CommentForm commentForm);

    List<CommentBookVo> queryComment(CommentQuery query,String index,String type);

    String createIndex();

}
